<script lang="ts" setup>
import { userChannel } from '@/stores/userChannel'
const userCha = userChannel()
userCha.GetChannel_New_list(userCha.flag, Date.now())
</script>

<template>
    <div className="list">
        <div className="article_item" 
        v-for="(item) in userCha.channel_new_list" 
        :key="item.art_id"
        >
            <h3 className="van-ellipsis">{{ item.title }}</h3>
            <div className="img_box">
                <img
                :src="item.cover.images?.[0] || 'http://geek.itheima.net/uploads/1723363175149.jpg'"
                className="w100"
                alt=""
                />
            </div>
    <div className="info_box">
    <span>{{ item.aut_name }}</span>
    <span>{{ item.comm_count }}评论</span>
    <span>{{ item.pubdate }}</span>
    </div>
    </div>
    </div>
</template>

<style scoed lang="less"></style>